package com.model;

/**
 * Created by caicf on 2016/6/12.
 */
public class User {
    private int id;
    private String name;
    private String desc1;
    private Role role;

    public User() {
    }

    public User(int id, String name, String desc1, Role role) {
        this.id = id;
        this.name = name;
        this.desc1 = desc1;
        this.role = role;
    }

    public Role getRole() {
        return role;
    }

    public void setRole(Role role) {
        this.role = role;
    }

    public String getDesc1() {
        return desc1;
    }

    public void setDesc1(String desc1) {
        this.desc1 = desc1;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

}
